//引入封装的公共的请求插件
import { GET, POST, UPLOAD } from "@/services/request.js";

export default {
  InitAddress(data = {}) {
    return POST({
      url: "user/address/index",
      params: data,
    });
  },
  selectAddress(data={}){
    return POST({
      url:"user/address/select",
      params:data
    })
  },
  add(data={}){
    return POST({
      url:"user/address/add",
      params:data
    })
  },
  edit(data={}){
    return POST({
      url:"user/address/edit",
      params:data
    })
  },
  delete(data={}){
    return POST({
      url:"user/address/delete",
      params:data
    })
  },
  AddressInfo(data={}){
    return GET({
      url:"user/address/query",
      params:data
    })
  }
};
